Pixeldev\SquareWooSync\Woo\WooImport D

Total Complexity 210
Dependencies 9
Dependents 4
Total lines 1,472
Lines of code 1,055
Logical lines of code 546
Comment lines 202
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
format_product_for_square()
D
24
31 173
squarewoosync_export_products()
B
36 19 77
process_products()
A
37 11 76
update_square_inventory_counts()
A
41 12 55
getSquareObjectById()
A
50 13 28
update_wc_product_with_square_ids()
A
47 12 36
get_square_option_value_id()
A
43 11 49
upload_image_to_square()
A
39 9 63
get_or_create_square_category()
A
42 9 51
import_products()
A
41 8 58
get_square_option_id()
A
45 7 44
is_valid_image()
A
54 8 18
wp_all_import_completed()
S
50 5 30
handle_bulk_action()
S
54 5 24
schedule_sync_job()
S
45 3 51
schedule_export_job()
S
45 3 51
upload_product_images_to_square()
S
55 5 21
build_ancestor_chain()
S
60 4 14
remove_square_meta()
S
61 4 13
load_square_categories()
S
61 4 12
find_square_category_by_term()
S
61 4 12
wp_all_import_add_meta()
S
62 4 11
send_inventory_updates_to_square()
S
57 3 17
get_all_filtered_product_ids()
S
58 3 15
fetch_square_item_options()
S
59 3 14
squarewoosync_sync_products()
S
66 3 8
bulk_action_notices()
S
66 3 8
wc_get_product_id_by_temp_id()
S
62 1 13
init()
S
66 1 7
register_bulk_actions()
S
72 1 5
__construct()
S
98 1 1